package annotation;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Service
public class EmpServiceImpl implements EmpService{
    @Autowired
    //@Qualifier("empDao2")
    private EmpDao empDao;
    @Override
    public void show() {
        System.out.println(empDao);
    }
    @Autowired
    public void xxx(EmpDao empDao){
        System.out.println(empDao);
    }
}
